<!DOCTYPE html>
<html>
<head>
    <title>Mapbox GL JS debug page</title>
    <meta charset='utf-8'>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
     
    <style>
        body { margin: 0; padding: 0; }
        html, body, #map { height: 100%; }
    </style>
</head>

<body>
<div id='map'></div>

<script src='debug.js'></script>
 
<script>

document.getElementById("map").onclick = function(e){

	var p1 = {}
	
	p1.call = function(p){
		return "hello" + p;
	}
	
	var p2 = {}
	
	p2.call2 = function(p){
		return "debug"+ p;
	}
	
	show(p1,p2);
	
	
	var a = function(){
	    console.log('heeloo')
	}
	
	var person = {
		    name: 'lilei',
		    age:33
		}
	
	a.call(person,32,22,444)
	
}


</script>
</body>
</html>